package com.core.family.admin.domain.req;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.core.common.gen.BaseQuery;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author honglei
 * @version 1.0
 * @time: 2022-6-10 11:46:34
 * @Description dto对象
 */
@Data
public class SysMenuReq extends BaseQuery implements Serializable {


    /*
     *
     */
    private Integer id;

    /*
     *
     */
    private Integer parentId;

    /*
     *  菜单码
     */

    private String menuCode;

    /*
     *  菜单名称
     */

    private String menuName;

    /*
     *  菜单图标
     */

    private String menuIcon;

    /*
     *  菜单路径
     */

    private String menuPath;

    /*
     *  菜单排序
     */
    private Integer menuSort;

    /*
     *  菜单类型
     */
    private Integer menuType;

    /*
     *  菜单状态
     */
    private Integer status;

    /*
     *  是否删除
     */
    private Integer isDel;

    /*
     *  创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /*
     *  更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

}
